package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户活动兑换金额累计表
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "sc_mall_user_activity_summary")
public class MallUserActivitySummary extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 累计消费金额
     */
    @TableField(value = "total_consumption_amount")
    private BigDecimal totalConsumptionAmount;

    /**
     * 累计兑换金额
     */
    @TableField(value = "total_exchange_amount")
    private BigDecimal totalExchangeAmount;

}